package demo.android.com.mvpdemo.RxJava;

import android.support.annotation.NonNull;

/**
 * Created by Vya on 2018/1/24 0024.
    观察者
 */

public interface Observer<T> {
    void onNext(@NonNull T item);
    void onError(@NonNull Throwable e);
    void onSubscribe();
    void onComplete();
}
